package mundo.java.client.events;

import mundo.java.shared.GreetingAction;

public class MessageValidatedEvent extends Event {
	public static final Type TYPE = new Type();
	
	public final GreetingAction action;
	public final boolean messageValidated;
	
	public MessageValidatedEvent(GreetingAction action, boolean messageValidated) {
		this.action = action;
		this.messageValidated = messageValidated;
	}

	@Override
	public Type getAssociatedType() {
		return TYPE;
	}
}